package ch8.Fly;

public class FlyTest {
    public static void main(String[] args) {
        Fly b=new Bat("吸血蝙蝠");
        Fly p=new Plane("领航者客机");
        Fly k=new Kite("龙形","金色");
        Fly bird=new Bird("黑天鹅");
        b.fly();
        p.fly();
        k.fly();
        bird.fly();
    }
}
